package algorithm;

import java.util.Scanner;

/**
 * @ClassName NextTest
 * @Author 刘正星
 * @Date 2021/6/18 下午9:58
 * @Description
 */


public class NextTest {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int n = scanner.nextInt();
        System.out.println(n);
         while (n>0){
             int i = scanner.nextInt();
             System.out.println(i);
         }


    }
}
